package com.example.service;

import com.example.dto.FileDTO;
import com.example.dto.ResultDTO;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * @Author: swq
 * @Date: 2019/8/31  0:48
 */
public interface UploadService {

    /**
     * 到本地服务器获取标签
     * @return
     */
    Map<String, String> signature();
    ResultDTO avatarUpload(MultipartFile file);
    FileDTO fileUpload(MultipartFile file);



}

